import {
	ConvexObjectBreaker
} from 'three/examples/jsm/misc/ConvexObjectBreaker.js';

const convexBreaker = new ConvexObjectBreaker();

function kePoHuai(mesh, zhiLiang = 10, suDu = new THREE.Vector3(), angularVelocity = new THREE.Vector3()) {
	convexBreaker.prepareBreakableObject(mesh, zhiLiang, suDu, angularVelocity, true);
}

export default kePoHuai;
